package stu.aistar.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import stu.aistar.mapper.HallMapper;
import stu.aistar.model.pojo.Hall;
import stu.aistar.service.IHallService;

import java.util.List;

@Service
public class HallServiceImpl implements IHallService {
    @Autowired
    private HallMapper hallMapper;

    @Override
    public List<Hall> findByCid(Integer cid) {
        return hallMapper.findByCid(cid);
    }
}
